lock based protocol in database management systems